package com.example.demo.service.impl;

import com.example.demo.dao.ScoreDao;
import com.example.demo.dao.StudentDao;
import com.example.demo.domain.Score;
import com.example.demo.domain.Student;
import com.example.demo.service.ScoreService;
import com.example.demo.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScoreServiceImpl implements ScoreService {

    @Autowired
    private ScoreDao scoreDao;

    @Override
    public List<Score> getAll() {
        return scoreDao.getAll();
    }
}
